.control-button {
  width: 100%;
  height: 100%;
  padding: 0;

  background-color: transparent;
  border: 1px solid #00000000;
  
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  box-sizing: border-box;
  
  &:hover:not(.control-button--disabled) {
    filter: invert(20%);
  }
  &--disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
}

.control-icon {
  width: 100%;
  height: 100%;

  filter: invert(100%);

  &--loading {
    animation: spin 1s linear infinite;
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
